using System;
using System.Collections.Generic;

namespace GameSite.Models
{
    public partial class GameBan
    {
        public int ID { get; set; }
        public int AccountID { get; set; }
        public string AccountName { get; set; }
        public int Status { get; set; }
        public string Reason { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public string CreateBy { get; set; }

        public string StartDispTime
        {
            get
            {
                return StartTime.ToString("yyyy-MM-dd");
            }
        }

        public string EndDispTime
        {
            get
            {
                return EndTime.ToString("yyyy-MM-dd");
            }
        }
    }
}
